//
//  TTTab.h
//  Tint
//
//  Created by Kevin Wu on 4/13/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class TTTabBar;

@interface TTTab : UIView {
    TTTabBar *_tabbar;
    UIControlState _state;
    
    UIImage *_normalBackgroundImage;
    UIImage *_hilightedBackgroundImage;
    
    UIButton *_button;
    UIImageView *_backgroundImageView;
}

@property(nonatomic, assign) TTTabBar *tabbar;
@property(nonatomic, assign) UIControlState state;

@property(nonatomic, retain) UIImage *normalBackgroundImage;
@property(nonatomic, retain) UIImage *hilightedBackgroundImage;

+ (TTTab *)tabWithNormalBackgroundImage:(UIImage *)normalBackgroundImage hilightedBackgroundImage:(UIImage *)hilightedBackgroundImage;

- (void)setNormalStyle;
- (void)setHighlightedStyle;
- (void)setSelectedStyle;

- (CGSize)idealSize;

@end
